#
# DevOps Front-End
#

FROM smebberson/alpine-nginx
MAINTAINER Cyril Hou <houshoushuai@gmail.com>

#
# Pkg
#
RUN mkdir -p /app
WORKDIR /app

#
# Copy Files
#
COPY ./dist .
COPY ./resource/nginx.conf /etc/nginx/conf.d/default.conf

RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
    ln -sf /dev/stderr /var/log/nginx/error.log
